<%@ page import="com.ly.oa.bean.Dept" %>
<%@page contentType="text/html;charset=UTF-8"%>

<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>详情页面</title>
	</head>
	<body>
		<h1 align="center">部门详细信息</h1>
		<hr>	
		<table border="1px" align="center" width="40%">
			<%
				Dept dept = (Dept) request.getAttribute("dept");
			%>
			<tr>
				<th>部门编号</th>
				<td align="center"><%=dept.getDeptno()%></td>
			</tr>
			<tr>
				<th>部门名称</th>
				<td align="center"><%=dept.getDname()%></td>
			</tr>
			<tr>
				<th>部门位置</th>
				<td align="center"><%=dept.getLoc()%></td>
			</tr>
			<tr>
				<td colspan="2" align="center"><input type="button" value="返回" onclick="window.history.back()"/></td>
			</tr>
		</table>
	</body>
</html>